package com.dgh.school.service;

import com.dgh.school.bean.Duty;
import com.dgh.school.common.R;

public interface DutyService{


        R selectByPage(int pageNum, int pageSize) throws Exception;

        void deleteById(int id) throws Exception;

        void insertData(Duty duty)throws Exception;

        void updateData(Duty duty)throws Exception;

        R selectAllDutys() throws Exception;
}
